<!DOCTYPE html>
<html>
	<head>
		<!-- 计算属性 -->
		<meta charset="utf-8">
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
		<title></title>
	</head>
	<body>
		<div id="example">
			<p>Original message:"{{ message }}"</p>
			<p>Computed reversed message:"{{ reversedMessageComputed }}"</p>
			<p>Reversed message:"{{ reversedMessage() }}"</p>
		</div>
		
		<div id="demo">
			{{ fullName }}
		</div>
		
		<div id = "watch-example">
			<p>
				Ask a yes/no question:
				<input v-model = "question" />
			</p>
			<p>{{ answer }}</p>
		</div>
		
		<script src="CalculatedAttribute.js"></script>
	</body>
</html>
